﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Configuration;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;


public partial class ManagerQuestion : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["userType"] == null || Session["userType"].ToString() != "PhongDaoTao")
        {
            Response.Redirect("~/Default.aspx");
        }
    }

    protected void btnThem_Click(object sender, EventArgs e)
    {
        Response.Redirect("AddQuestion.aspx");
    }

    protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
    {
        Logout();
    }

    protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
    {

    }

    protected void GridView1_RowUpdated(object sender, GridViewUpdatedEventArgs e)
    {
        ShowMessage("Đã cập nhật tiêu chí thành công!", "");
    }

    protected void GridView1_RowDeleted(object sender, GridViewDeletedEventArgs e)
    {
        ShowMessage("Đã xóa tiêu chí thành công!", "");
    }
}

